diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/vendor-check-list/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(master-data)/vendor-check-list/page.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/vendor-check-list/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/vendor-check-list/page.tsx index 955c95f0..4cc5a9a0 100644 --- a/app/[lng]/evcp/(evcp)/(master-data)/vendor-check-list/page.tsx +++ b/app/[lng]/evcp/(evcp)/(master-data)/vendor-check-list/page.tsx @@ -9,14 +9,19 @@ import { getGenralEvaluationsSchema } from "@/lib/general-check-list/validation" import { GeneralEvaluationsTable } from "@/lib/general-check-list/table/general-check-list-table" import { getGeneralEvaluations } from "@/lib/general-check-list/service" import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n" + interface IndexPageProps { + params: Promise<{lng: string}> searchParams: Promise<SearchParams> } export default async function IndexPage(props: IndexPageProps) { const searchParams = await props.searchParams const search = getGenralEvaluationsSchema.parse(searchParams) + const { lng } = await props.params + const { t } = await useTranslation(lng, 'menu') const validFilters = getValidFilters(search.filters) @@ -35,7 +40,7 @@ export default async function IndexPage(props: IndexPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 협력업체 평가자료 문항 관리 + {t('menu.master_data.vendor_checklist')} </h2> <InformationButton pagePath="evcp/vendor-check-list" /> </div> |
